﻿using System.Collections.Generic;
using Downloader.Framework.Core;
using SharpArch.Domain.DomainModel;

namespace Downloader.Domain
{
    /// <summary>
    /// 评论内容
    /// </summary>
    public class Comment : EntityBase
    {
        /// <summary>
        /// 文章内容
        /// </summary>
        public virtual ArticleContent ArticlContent { get; set; }
        /// <summary>
        /// 父级评论
        /// </summary>
        public virtual Comment Parent { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        public virtual string ContentText { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual string CreateTime { get; set; }
        /// <summary>
        /// 子评论
        /// </summary>
        public virtual IList<Comment> Subs { get; set; }

    }
}
